Drawing.toPolarPoint Method
Converts cartesian coordinates to polar coordinates.
This method is static.
Parameters
- x
-
Type: Number
The horizontal coordinate relative to the center.
- y
-
Type: Number
The vertical coordinate relative to the center.
Return Value
Type: Object
An object with properties:
radius [type: Number] - The radius from the center.
angle [type: Number] - The angle from cardinal east.